// 快递平台管理模块

import request from '@/utils/request'

export function getList(data) {
  return request({
    url: '/resource/product/list',
    method: 'post',
    data: data,
  })
}
export function getInfo(data) {
    return request({
      url: '/resource/product/info',
      method: 'post',
      data: data,
    })
  }
export function addList(data) {
    return request({
      url: '/resource/product/add',
      method: 'post',
      data: data,
    })
  }
export function editList(data) {
    return request({
      url: '/resource/product/edit',
      method: 'post',
      data: data,
    })
  }

export function removeList(data) {
  return request({
    url: '/resource/product/remove',
    method: 'post',
    data: data,
  })
}

//参数列表
export function parameterList(data) {
  return request({
    url: '/resource/product/param/list',
    method: 'post',
    data: data,
  })
}
//参数详情
export function parameterInfo(data) {
  return request({
    url: '/resource/product/param/infos',
    method: 'post',
    data: data,
  })
}
//设置参数
export function setParameter(data) {
  return request({
    url: '/resource/product/param/setting',
    method: 'post',
    data: data,
  })
}

